-- GENERATED SPELL FOR [Maiden of Discipline] --


function spell0_18663(pUnit, Event) --@Lash of Pain,n/a--
pUnit:FullCastSpellOnTarget(32202,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18663', 654, 1)
end

function spell1_18663(pUnit, Event) --@Seduction,n/a--
pUnit:FullCastSpellOnTarget(31865,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18663', 6500, 1)
end

function Sorts_18663(pUnit, Event)
local choix_sorts_18663 = math.random(0, 1)
if choix_sorts_18663 == 0 then
pUnit:RegisterEvent('spell0_18663', 1, 1)
end
if choix_sorts_18663 == 1 then
pUnit:RegisterEvent('spell1_18663', 1, 1)
end
end

function mob18663_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18663', math.random(1500, 3000), 1)
end

function mob18663_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18663_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18663_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18663, 1, 'mob18663_Action')
RegisterUnitEvent(18663, 2, 'mob18663_Leave')
RegisterUnitEvent(18663, 3, 'mob18663_Kill')
RegisterUnitEvent(18663, 4, 'mob18663_Die')
